<?php

class valorestipo extends Basevalorestipo
{ 
    public function __toString(){
	   return $this->getNombrevalor();
	}

     public function save(PropelPDO $con = null){
         if ($this->isNew())
             return parent::save($con);
         if ($this->getId()>3)
             return parent::save($con);
     }

     public function delete(PropelPDO $con = null){
         if ($this->getId() >3)
            parent::delete($con);
     }
	
}
